package javaCode.chapter06.本章作业;

public class Homework09 {

    public static void main(String[] args) {

        class test{
            public double t(double d1,double d2){
                return 1;
            }
        }

        test t = new test();
        System.out.println(t.t(t.t(1.1,1.2),100));
    }
}

class Demo {
    int i = 100;

    public void m() {
        int j = i++;
        System.out.println("i = " + i);
        System.out.println("j = " + j);
    }
}

class Test {
    public static void main(String[] args) {
        Demo d1 = new Demo();
        Demo d2 = d1;
        d2.m();
        System.out.println(d1.i);
        System.out.println(d2.i);
    }
}

